package com.weharvest.appraisal.common.exception;

public class DaoException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	private int errorCode;
	public DaoException() {
		super();
	}
	public DaoException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}
	public DaoException(String message, Throwable cause) {
		super(message, cause);
	}
	public DaoException(String message) {
		super(message);
	}
	public DaoException(Throwable cause) {
		super(cause);
	}
	
	public DaoException(int errorCode) {
		super();
		this.errorCode = errorCode;
	}
	public int getErrorCode() {
		return errorCode;
	}
	
}
